package com.next.aappublicapp.util;

import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager.NameNotFoundException;

public class AppInstallUtil {

	
	public static boolean isAppInstalled(Context context){
		PackageInfo pInfo;
		try {
			pInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0);
			String version = pInfo.versionName;
		} catch (NameNotFoundException e) {
			e.printStackTrace();
		}
		return false;
	}

	public static boolean isAppUpgraded(){
		return false;
	}

}
